package com.ymatou.iapi.trading.operate2.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.trading.operate2.parameter.req.PlaceOrderReq;
import com.ymatou.iapi.trading.operate2.service.PlaceOrderCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.TestCase;
import com.ymt.utils.tag.P1;
import com.ymttest.database.sqlwapper.DefaultWapper;

public class Ts_PlaceOrder {

	private static PlaceOrderReq placeorderBean;

	private static PlaceOrderCall placeorderCall;

	private static DefaultWapper database = new DefaultWapper();

	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("创建订单(新)接口");
	}

	@Before
	public void caseUp() {
		placeorderBean = new PlaceOrderReq();
		placeorderCall = new PlaceOrderCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(placeorderCall.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	@Test
	@Category(P1.class)
	@TestCase
	public void Tc_PlaceOrder_001() {
		Logger.start(true, "创建一个C直播订单(odertype=1)扫货");
		try {

		} catch (Exception e) {
			Logger.fail(e);
		}
	}
}
